package com.cvte.vdt.btcontrolui.view.widget;


import android.content.Context;
import android.util.AttributeSet;
import android.widget.TextView;

public class MarqueeTextView extends TextView {
    private boolean marqueeState = true;

    public MarqueeTextView(Context context) {
        super(context);
    }

    public MarqueeTextView(Context context, AttributeSet attrs) {
        super(context, attrs);
    }

    public MarqueeTextView(Context context, AttributeSet attrs, int defStyle) {
        super(context, attrs, defStyle);
    }

    @Override
    public boolean isFocused() {
        return marqueeState;
    }
    public void setMarqueeState(boolean b){
        marqueeState = b;
        setSelected(b);
    }
}
